import { createRouter, createWebHashHistory } from "vue-router";
import LoginView from "../views/LoginView.vue";
import HomeView from "../views/HomeView.vue";

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: "/login",
      component: LoginView,
    },
    {
      path: "/home",
      component: HomeView,
    },
  ], // 对应鸿蒙的router_map.json
}); // 创建路由实例对象

export default router; // 导出路由实例对象
